<?php

/**
 * @author shuang
 * @date 2016-11-3 11:39:47
 */
use yii\helpers\Url;

$this->registerJs('AjaxInitForm("#pwdForm", "#btnSubmit", "'.Url::toRoute(["updatepwd"]).'");',3);
?>
<div class="content native-scroll">
    <div class="brand"></div>
    <div class="list-block">
        <form name="pwdForm" id="pwdForm">
            <ul>
                <li>
                    <div class="item-content">
                        <div class="item-media"><i class="iconfont i-lock"></i></div>
                        <div class="item-inner">
                            <label class="item-title label" for="password">原始密码</label>
                            <div class="item-input">
                                <input type="password" id="password" name="oldpassword">
                            </div>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="item-content">
                        <div class="item-media"><i class="iconfont i-lock"></i></div>
                        <div class="item-inner">
                            <label class="item-title label" for="txtPassword">新密码</label>
                            <div class="item-input">
                                <input type="password" id="txtPassword" name="password">
                            </div>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="item-content">
                        <div class="item-media"><i class="iconfont i-lock"></i></div>
                        <div class="item-inner">
                            <label class="item-title label" for="txtPassword1">重复新密码</label>
                            <div class="item-input">
                                <input type="password" id="txtPassword1" name="repassword">
                            </div>
                        </div>
                    </div>
                </li>
            </ul>
        </form>
    </div>
    <div class="content-block">
        <a href="javascript:;" class="button button-big button-fill button-success" id="btnSubmit">确认修改</a>
    </div>
</div>